//
//  Cosnts.h
//  HTP
//
//  Created by admin on 15/10/25.
//  Copyright © 2015年 nit. All rights reserved.
//

#ifndef Cosnts_h
#define Cosnts_h
//定义返回请求数据的block类型
typedef void (^ReturnValueBlock) (id returnValue);//服务器调用成功block
typedef void (^ErrorCodeBlock) (id errorCode);//服务器错误block
typedef void (^FailureBlock)();//网络错误block
#define  ScreenWidth  [UIScreen mainScreen].bounds.size.width
#define  ScreenHeihgt  [UIScreen mainScreen].bounds.size.height

//缓存key
#define KeyUser @"userBean"


//接口参数
//接口调用参数

#define INTERFACE_RESULT @"Result"
#define INTERFACE_REASON @"Reason"
#define INTERFACE_SUCCESS @"Success"
#define INTERFACE_ERROR @"Failure"
#define INTERFACE_INFO @"Info"

#define INTERFACE_ERROR_CHIN @"服务器错误"
#define INTERFACE_FAILURE_CHIN @"网络错误"


#define IMAGEHTTP @"http://t.xuebaeasy.com:8080/uploadfiles/"

//支付宝支付参数
#define HTP_alipay_scheme     @"HTPSchemes"
#define m_ALIPAY_partner        @"2088121304811935"
#define m_ALIPAY_seller         @"hr@xuebaeasy.com"
#define m_ALIPAY_privateKey     @"MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBALqBX1pgktBBTtH5OYhxJ+UemMjWme0Hf+M4iCEQx/PqCRner/cUhwNzGtutGerwPZeSzjMfjvGLOYQi47OZncDrYBJ287g4X8xE1gZRimg94NkOvKs289Gozn3HCwAN2WWKVAt1vVXV6LygnXNCuRd4jFxivYUvUCYBIurKatSDAgMBAAECgYA7j08lLIwWB5UlRwLRiNlluQSvtqDHakq0BHysmpBQW5/2bAAj1qFbP6oHF1uchIYW3qIM/3oFtyFyCjZPR7JxunA5Ov39QlN9uH7AFMUOYM6T1Bm8so5OUmJiPayS1BZWUpDMLmkwWVLNBAB1y0uNtHchpm+BrG60FuQnwCfNIQJBAO1EhKxaxrUr/gZ5mhcyG1yo25y79YyDPYeUD6Rcpa41KpCmhgxkGYZ8BcvvBMk2DjQxz0OKfTXKfN/BbgOiD1MCQQDJOuI2feIuonEltUesPv2n5qDas0jcLKHes/Ig4qAvT8CY1kGYf20iKkEml5XBChNbqEh7bOks+hCLErThTvARAkBvB30+WkxaQ3ff98+PwzbiqXH7akmBs3h7lWGsfF5boy2D+ykHa2A2epsLz5HhxpXm/tgKtyfYoCTHYHDm6lNZAkBbeP/ho2GQr1jdukUFYHDvxN+z6rGhHEzMrmHPXxVPzGIRV7vjtXEHicup3lg9svXPwXSJXp20S0v/3BYLIVXxAkAV4Eh0H6dV4Uj4/FK1apibLrdLbfbnNvTMmDjIfRnrnHM6jcHnHh/S5YvC3DKyGkl++ZaoF56Y9f8Zq276Ujjl"


#endif /* Cosnts_h */
